package com.liaoyifan.core.converter;

import com.liaoyifan.core.model.CoreConverter;
import com.liaoyifan.core.properties.HikariProperties;
import com.zaxxer.hikari.HikariConfig;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

@Mapper(config = ConverterConfig.class)
public interface HikariConverter extends CoreConverter<HikariProperties, HikariConfig> {

    HikariConverter INSTANCE = Mappers.getMapper(HikariConverter.class);
}
